<template>
  <div>
    <view-table
      need-login
      title="工商经营异常信息"
      api-view="getDetailRiskOperate"
      api-res-key="operate"
      :usci="usci"
      :columns="operateColumn"
    ></view-table>

    <view-table
      need-login
      title="工商行政处罚信息"
      api-view="getDetailRiskSanction"
      api-res-key="sanction"
      :usci="usci"
      :columns="sanctionColumn"
    ></view-table>

    <view-table
      need-login
      title="严重违法信息"
      api-view="getDetailRiskIllgal"
      api-res-key="illgal"
      :usci="usci"
      :columns="illgalColumn"
    ></view-table>

    <view-table
      need-login
      title="税务行政处罚信息"
      api-view="getDetailRiskTax"
      api-res-key="tax"
      :usci="usci"
      :columns="taxColumn"
    ></view-table>

    <view-table
      need-login
      title="大税收违法信息"
      api-view="getDetailRiskTaxbig"
      api-res-key="taxBig"
      :usci="usci"
      :columns="taxBigColumn"
    ></view-table>

    <view-table
      need-login
      title="纳税非正常户信息"
      api-view="getDetailRiskTaxunnormal"
      api-res-key="taxUnNormal"
      :usci="usci"
      :columns="taxUnNormalColumn"
    ></view-table>

    <view-table
      need-login
      title="土地查封信息"
      api-view="getDetailRiskSoil"
      api-res-key="soilKill"
      :usci="usci"
      :columns="soilKillColumn"
    ></view-table>

    <view-table
      need-login
      title="失信被执行人信息"
      api-view="getDetailRiskCreditexcperson"
      api-res-key="creditExcPerson"
      :usci="usci"
      :columns="creditExcPersonColumn"
    ></view-table>

    <view-table
      need-login
      title="被执行人信息"
      api-view="getDetailRiskExcperson"
      api-res-key="excPerson"
      :usci="usci"
      :columns="excPersonColumn"
    ></view-table>

    <view-table
      need-login
      title="黑名单信息"
      api-view="getDetailRiskBlackperson"
      api-res-key="blackPerson"
      :usci="usci"
      :columns="blackPersonColumn"
    ></view-table>
  </div>
</template>

<script>
import ViewTable from '@/credit/views/county/finance/components/ViewTable.vue'

export default {
  components: {
    ViewTable,
  },
  props: {
    baseInfo: {
      type: Object,
      default: () => ({}),
    },
  },
  data() {
    return {
      operateColumn: [
        { label: '序号', prop: 'order_num' },
        { label: '列入日期', prop: 'LRRQ' },
        { label: '列入原因', prop: 'LRYY' },
        { label: '移出日期', prop: 'YCRQ' },
        { label: '移出原因', prop: 'YCYY' },
      ],

      sanctionColumn: [
        { label: '序号', prop: 'order_num' },
        { label: '决定日期', prop: 'JDRQ' },
        { label: '处罚内容', prop: 'CFNR' },
        { label: '违法行为类型', prop: 'WFXWLX' },
        { label: '处罚种类', prop: 'CFZL' },
        { label: '公示日期', prop: 'GSRQ' },
      ],

      illgalColumn: [
        { label: '序号', prop: 'order_num' },
        { label: '列入日期', prop: 'LRRQ' },
        { label: '列入事由', prop: 'LRSY' },
        { label: '移出日期', prop: 'YCRQ' },
        { label: '移出事由', prop: 'YCSY' },
      ],

      taxColumn: [
        { label: '序号', prop: 'order_num' },
        { label: '处罚生效期', prop: 'CFSXQ' },
        { label: '处罚截至期', prop: 'CFJZQ' },
        { label: '处罚结果', prop: 'CFJG' },
        { label: '当前状态', prop: 'DQZT' },
      ],

      taxBigColumn: [
        { label: '序号', prop: 'order_num' },
        { label: '案件性质', prop: 'AJXZ' },
        { label: '违法违章事实', prop: 'WFWZSS' },
        { label: '案件状态', prop: 'AJZT' },
        { label: '公告日期', prop: 'GGRQ' },
      ],

      taxUnNormalColumn: [
        { label: '序号', prop: 'order_num' },
        { label: '非正常户认定日期', prop: 'FZCHRDRQ' },
        { label: '非正常户解除日期', prop: 'FZCHJCRQ' },
        { label: '认定原因', prop: 'RDYY' },
        { label: '宣告失效日期', prop: 'XGSXRQ' },
        { label: '公告日期', prop: 'GGRQ' },
      ],

      soilKillColumn: [
        { label: '序号', prop: 'order_num' },
        { label: '查封开始时间', prop: 'CFKSSJCFJSS' },
        { label: '查封结束时间', prop: 'CFKSSJCFJSS' },
        { label: '土地证号', prop: 'TDZH' },
        { label: '坐落', prop: 'ZL' },
        { label: '土地面积', prop: 'TDMJ' },
        { label: '性质', prop: 'XZ' },
        { label: '查封文号', prop: 'CFWH' },
        { label: '解封登记时间', prop: 'JFDJSJ' },
      ],

      creditExcPersonColumn: [
        { label: '序号', prop: 'order_num' },
        { label: '立案日期', prop: 'LARQ' },
        { label: '执行法院', prop: 'ZXFY' },
        { label: '被执行人履行情况', prop: 'BZXRLXQK' },
        { label: '案号', prop: 'AH' },
      ],

      excPersonColumn: [
        { label: '序号', prop: 'order_num' },
        { label: '立案日期', prop: 'LARQ' },
        { label: '执行法院', prop: 'ZXFY' },
        { label: '被执行人的履行情况', prop: 'BZXRDLXQK' },
        { label: '案号', prop: 'AH' },
        { label: '省份', prop: 'SF' },
        { label: '发布时间', prop: 'FBSJ' },
      ],

      blackPersonColumn: [
        { label: '序号', prop: 'order_num' },
        { label: '黑名单类别名称', prop: 'HMDLBMC' },
        { label: '发布日期', prop: 'FBRQ' },
        { label: '黑名单类型', prop: 'HMDLX' },
        { label: '信用行为', prop: 'XYXW' },
        { label: '法律依据摘要', prop: 'FLYJZY' },
        { label: '是否绝对限制', prop: 'SFJDXZ' },
      ],
    }
  },
  computed: {
    usci() {
      return this.baseInfo.TYSHXYDM
    },
  },
  watch: {},
  created() {},
  mounted() {},
  methods: {},
}
</script>

<style lang="scss" scoped></style>
